/**
 * 菜单列表配置文件
 */
module.exports = [
  {
    id: 'menu1',
    text: '微信管理',
    icon: 'el-icon-fw-tongji',
    permission: 'Weixin',
    subMenu: [
      {
        id: 'menu1-1',
        route: {
          path: '/wechat_article'
        },
        text: '关注引导语'
      },
      {
        id: 'menu1-2',
        route: {
          path: '/wechat_menu'
        },
        text: '微信菜单'
      },
      {
        id: 'menu1-3',
        route: {
          path: '/wechat_message'
        },
        text: '消息管理'
      }
    ]
  },
  {
    id: 'menu2',
    text: '在线咨询',
    icon: 'el-icon-fw-tongji',
    permission: 'Qa',
    subMenu: [
      {
        id: 'menu2-1',
        route: {
          path: '/consult_question'
        },
        text: '咨询问题'
      },
      {
        id: 'menu2-2',
        route: {
          path: '/wechat_consult_session'
        },
        text: '咨询会话'
      },
      {
        id: 'menu2-3',
        route: {
          path: '/consult_question_kinds'
        },
        text: '咨询问题类目'
      },
      {
        id: 'menu2-4',
        route: {
          path: '/push_article'
        },
        text: '推送文章'
      },
      {
        id: 'menu2-5',
        route: {
          path: '/wechat_user'
        },
        text: '微信用户'
      },
      {
        id: 'menu2-6',
        route: {
          path: '/consultants'
        },
        text: '顾问列表'
      },
      {
        id: 'menu2-7',
        route: {
          path: '/consult_comment'
        },
        text: '咨询评价'
      },
      {
        id: 'menu2-8',
        route: {
          path: '/consult_user_invitation'
        },
        text: '用户邀请'
      },
      {
        id: 'menu2-9',
        route: {
          path: '/qa_reward'
        },
        text: '顾问奖励'
      }
    ]
  },
  {
    id: 'menu3',
    text: '活动管理',
    icon: 'el-icon-fw-tongji',
    permission: 'O2O',
    subMenu: [
      {
        id: 'menu3-1',
        route: {
          path: '/scholarship/report'
        },
        text: '奖学金报表'
      },
      {
        id: 'menu3-2',
        route: {
          path: '/scholarship/record'
        },
        text: '助力列表'
      },
      {
        id: 'menu3-3',
        route: {
          path: '/scholarship/apply'
        },
        text: '报名列表'
      },
      {
        id: 'menu3-4',
        route: {
          path: '/scholarship/share-link'
        },
        text: '分享链接'
      },
      {
        id: 'menu3-5',
        route: {
          path: '/questions'
        },
        text: '助力问题管理'
      }
    ]
  },
  {
    id: 'menu6',
    text: '订单管理',
    icon: 'el-icon-fw-tongji',
    permission: 'O2O',
    subMenu: [
      {
        id: 'menu6-1',
        route: {
          path: '/order'
        },
        text: '正常订单'
      },
      {
        id: 'menu6-2',
        route: {
          path: '/callback'
        },
        text: '回访记录'
      }
    ]
  },
  {
    id: 'menu7',
    text: '商品管理',
    icon: 'el-icon-fw-tongji',
    permission: 'O2O',
    subMenu: [
      {
        id: 'menu7-1',
        route: {
          path: '/product'
        },
        text: '商品列表'
      },
      {
        id: 'menu7-2',
        route: {
          path: '/product_catelog'
        },
        text: '商品类目'
      },
      {
        id: 'menu7-3',
        route: {
          path: '/product_add'
        },
        text: '新增商品'
      }
    ]
  },
  {
    id: 'menu-8',
    text: '顾问管理',
    icon: 'el-icon-fw-tongji',
    permission: 'O2O',
    subMenu: [
      {
        id: 'menu8-1',
        text: '所有顾问',
        route: {
          path: '/adviser/list'
        }
      },
      {
        id: 'menu8-2',
        text: '审核信息',
        route: {
          path: '/adviser/check'
        }
      },
      {
        id: 'menu8-3',
        text: '开通账号',
        route: {
          path: '/adviser/add'
        }
      },
      {
        id: 'menu8-4',
        text: '顾问类型',
        route: {
          path: '/adviser/type'
        }
      },
      {
        id: 'menu4',
        route: {
          path: '/cashing'
        }, // 路由对象
        icon: 'el-icon-fw-tongji', // 图标
        text: '顾问结算' // 菜单文本
      }
    ]
  },
  {
    id: 'menu-9',
    text: '保育园',
    icon: 'el-icon-fw-tongji',
    permission: 'Garden',
    subMenu: [
      {
        id: 'menu9-1',
        text: '0元抢购报名信息',
        route: {
          path: '/garden_baby'
        }
      },
      {
        id: 'menu11-1',
        text: '众筹项目',
        route: {
          path: '/crowd_funding'
        }
      },
      {
        id: 'menu11-2',
        text: '众筹订单',
        route: {
          path: '/crowd_funding_order'
        }
      }
    ]
  },
  {
    id: 'menu-10',
    text: '在线课程',
    icon: 'el-icon-tongji',
    permission: 'OnlineCourse',
    subMenu: [
      {
        id: 'menu-10-1',
        text: '职业培训',
        route: {
          path: '/course/job_training'
        }
      },
      {
        id: 'menu-10-2',
        text: '课程系列',
        route: {
          path: '/course/series'
        }
      },
      {
        id: 'menu-10-3',
        text: '适龄系列',
        route: {
          path: '/course/age_type'
        }
      },
      {
        id: 'menu-10-4',
        text: 'VIP管理',
        route: {
          path: '/course/vip'
        }
      },
      {
        id: 'menu-10-5',
        text: '会员管理',
        route: {
          path: '/course/member'
        }
      },
      {
        id: 'menu-10-6',
        text: '订单管理',
        route: {
          path: '/course/order'
        }
      },
      {
        id: 'menu-10-7',
        text: '评论管理',
        route: {
          path: '/course/comment'
        }
      },
      {
        id: 'menu-10-8',
        text: '提问管理',
        route: {
          path: '/course/qa'
        }
      },
      {
        id: 'menu10-1',
        text: '课程管理',
        route: {
          path: '/course_management'
        }
      }
    ]
  },
  {
    id: 'menu5',
    text: '系统管理',
    icon: 'el-icon-fw-tongji',
    subMenu: [
      {
        id: 'menu5-1',
        route: {
          path: '/system/admin_list'
        },
        text: '管理员'
      },
      {
        id: 'menu5-2',
        route: {
          path: '/member_manage'
        },
        text: '会员'
      },
      {
        id: 'menu5-3',
        route: {
          path: '/role'
        },
        text: '角色管理'
      }
    ]
  }
]
